<?php
/**
 * @package			ALM ProductControl
 * @version			$Id:$
 * @subpackage		com_almapc
 * @autor			ALM Studio
 * @copyright		Copyrights ALM Studio 2011. All rights reserved
 * @autor url		http://alm-studio.net
 * @autor email		info@almstudio.net
 */
defined('_JEXEC') or die('Restricted access');

abstract class ALMPCHelper
{
	public static function addSubmenu($vName) 
	{
		JSubMenuHelper::addEntry(
			JText::_('COM_ALMPC_SUBMENU_STATS'),
			'index.php?option=com_almpc',
			$vName == 'almautos'
		);
		
		JSubMenuHelper::addEntry(
			JText::_('COM_ALMPC_SUBMENU_ITEMS'),
			'index.php?option=com_almpc&view=items',
			$vName == 'items'
		);
		
		JSubMenuHelper::addEntry(
			JText::_('COM_ALMPC_SUBMENU_TYPES'),
			'index.php?option=com_almpc&view=types',
			$vName == 'types'
		);
		
		JSubMenuHelper::addEntry(
			JText::_('COM_ALMPC_SUBMENU_CATEGORIES'),
			'index.php?option=com_almpc&view=categories',
			$vName == 'categories'
		);
		
		//$document = JFactory::getDocument();
		//$document->addStyleDeclaration('.icon-48-almhoster {background-image: url(../media/com_almhoster/images/almhoster-48.png);}');
	}
}